package com.cmrx.model.util;

import java.io.IOException;
import java.util.Properties;
import org.springframework.core.io.ClassPathResource;

public class ConfigApiReader {
	private static Properties config = new Properties();

	public static String getProperty(String str) {
		return config.getProperty(str);
	}

	static {
		ClassPathResource _host = new ClassPathResource("application.properties");
		try {
			config.load(_host.getInputStream());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}